<template>
  <div class="download">
    <div class="lim" id="limId" >
        <div class="limLeft">
            <img src="../assets/image/close1.png" class="closeLogo" @click='closeLoads'/>
        	<img src="../assets/image/logo.png" @click='freeGroup' />
        	<div class="limMess" @click='goGroup'>
        		<img src="../assets/image/titles.png">
        	</div>
        </div>
		<a href="javascript:void(0)" onclick="parent.window.location.href='http://t.cn/RyUYEJx'" class="todownload" >立即打开</a>
	</div>
  </div>
</template>
<script>
/*智能保养*/
export default {
  name:"download",
  // 数据
  data(){

    return{
    }
  },
  // 计算属性
  computed:{

  },
  // 创建（实例创建完成）
  created(){
  },
  // el被创建，并挂载到实例上
  mounted(){

  },
  // 方法（实例中的方法）-----------
  methods:{
    closeLoads(){
    	this.$emit('close-down');
    	sessionStorage.setItem('closeDown',1);
    },
    goGroup(){
			// this.$router.push('/oneGroup');
			this.$router.push('/cutPriceList');
    },
    freeGroup(){
      this.$router.push('/freeGroup');
    }
  },
  // 子组件
  components:{
  }
}
</script>
<!--当前页面的样式 -->
<style lang="less" scoped>
.download{
    .lim {
	    padding: 0px;
	    background:#303131;
	    color: #fff;
	    overflow: hidden;
	    vertical-align: middle;
	    -webkit-box-sizing: border-box;
	    -moz-box-sizing: border-box;
	    box-sizing: border-box;
	    width: 100%;
	    height: 0.88rem;
	    position: fixed;
	    top: 0;
	    z-index: 999;
	    display: flex;
	    justify-content: space-between;
	}
	.limLeft{
	  display: flex;
	  padding: 0.05rem 0.1rem;
	}
	.limLeft img{
		width: 0.64rem;
		height: 0.64rem;
		margin-top: 0.07rem;
	}
	.limLeft .closeLogo{
	    width: 0.38rem;
		height: 0.38rem;
		margin-right: 0.2rem;
		margin-top: 0.2rem;
	}
	.limMess{
		padding-left: 0.2rem;
		text-align: left;
		img{
			width: 2.56rem;
			display: block;
			margin-top:0.1rem; 
			height: 0.55rem;
		}
	}
	.todownload{
		font-size: 0.26rem;
		width: 1.8rem;
		text-align: center;
		height: 0.88rem;
		background: #FF4848;
		line-height: 0.90rem;
		text-decoration: none;
		color: #fff;
	}
}
</style>